<?php

namespace api\blog\route;

use think\facade\Route;

////注册路由
//Route::post('register','api/blog/user/register');
////登录
//Route::post('login','api/blog/user/login');
////验证码
//Route::post('code','api/blog/user/sendCode');

//用户相关的路由
Route::group('admin',function(){
    //注册路由
    Route::post('register','api/blog/user/register');
    //登录
    Route::post('login','api/blog/user/login');
    //验证码
    Route::post('code','api/blog/user/sendCode');
    //用户信息增加
    Route::post('add','api/blog/user/adminAdd');
});
